]> dgit.raspbian.org Git - gnome-shell.git/commit
magnifier: Avoid applying monitor scaling factors to the cursor twice
authorDaniel van Vugt <daniel.van.vugt@canonical.com>
Wed, 15 Jul 2026 10:44:06 +0000 (18:44 +0800)
committerFlorian Müllner <fmuellner@gnome.org>
Sun, 2 Aug 2026 16:51:04 +0000 (18:51 +0200)
commita9c5bdf9a50ea3a0b30337e01265474ceba32f7f
treea96d53946dea612a6e3d86ff5806c6c941eda39e
parent89a14a4bb03e53760508ebef3821f39a0e773825
magnifier: Avoid applying monitor scaling factors to the cursor twice

The mouse actor needs special consideration because it is not a child
of the _uiGroupClone being magnified. So it gets magnified separately
*and* already has its own scaling factor from the source actor
(actually from the display scaling factor).

Closes: https://gitlab.gnome.org/GNOME/gnome-shell/-/work_items/9302
Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/4290>
(cherry picked from commit b258fed0671d0f73a0308d42ab0af820dfab62cf)
js/ui/magnifier.js